package com.hailiang.saas.auth.remote.feign.manage;

import com.hailiang.mp.commonsource.api.CommonResult;
import com.hailiang.saas.auth.remote.feign.UcUserInfoServiceApiFeign;
import com.hailiang.saas.uc.api.vo.UcUserInfoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : pangfuzhong
 * @description
 * @date : 2021/9/27 17:31
 */
@Service
public class UcUserInfoServiceApiManage {

    @Autowired
    private UcUserInfoServiceApiFeign ucUserInfoServiceApiFeign;

    public CommonResult<UcUserInfoVO> getUcUserInfoById(Long userId) {
        return this.ucUserInfoServiceApiFeign.getUcUserInfoById(userId);
    }
}
